<?php /* Smarty version Smarty-3.1.14, created on 2017-08-17 09:30:51
         compiled from "E:\phpStudy\WWW\zyshop\admin\templates\login.html" */ ?>
<?php /*%%SmartyHeaderCode:269945994ef62af31d1-04758472%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7080070b09d6bac251dceed71e4abd8813c3bd53' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\zyshop\\admin\\templates\\login.html',
      1 => 1502933449,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '269945994ef62af31d1-04758472',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_5994ef62b1db05_23308323',
  'variables' => 
  array (
    'web_name' => 0,
    'URL' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5994ef62b1db05_23308323')) {function content_5994ef62b1db05_23308323($_smarty_tpl) {?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $_smarty_tpl->tpl_vars['web_name']->value;?>
-后台登录</title>
<link href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
resource/css/login.css" rel="stylesheet" type="text/css" id="cssfile">
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
resource/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
resource/layer/layer.js"></script>
<script language="javascript">
function newgdcode(obj,url) {
obj.src = url+ '?nowtime=' + new Date().getTime();
//后面传递一个随机参数，否则在IE7和火狐下，不刷新图片
}
</script>
<style type="text/css">
body {
	background-color: #666666;
	background-image: url("");
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
	background-clip: border-box;
	background-size: cover;
	background-origin: padding-box;
	width: 100%;
	padding: 0;
}
</style>
</head>
<body style="background-image: url(<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
resource/images/login/bg_1.jpg);">
<div class="bg-dot"></div>
<div class="login-layout">
  <div class="top">
    <h5><?php echo $_smarty_tpl->tpl_vars['web_name']->value;?>
<em></em></h5>
    <h2>平台管理中心</h2>
    <h6>会员&nbsp;&nbsp;|&nbsp;&nbsp;订单&nbsp;&nbsp;|&nbsp;&nbsp;统计</h6>
  </div>
  <div class="box">
    <form method="post" id="form_login" action="">
      <span>
      <label>帐号</label>
      <input name="username" id="username" autocomplete="off" type="text" class="input-text" required="" />
      </span> <span>
      <label>密码</label>
      <input name="password" id="password" class="input-password" autocomplete="off" type="password" required="" pattern="[\S]{6}[\S]*" title="密码不少于6个字符" />
      </span> <span>
      <div class="code">
        <div class="arrow"></div>
        <div class="code-img"><img src="../includes/imgcode_admin.php" name="codeimage" id="codeimage" border="0" /></div>
        <a href="JavaScript:void(0);" id="hide" class="close" title="关闭"><i></i></a>
        <a href="JavaScript:void(0);" onClick="javascript:newgdcode(codeimage,document.getElementById('codeimage').src);" class="change" title="看不清,点击更换验证码"><i></i></a> </div>
      <input name="verify" type="text" required="" value="" class="input-code" id="captcha" placeholder="输入验证" pattern="[A-z0-9]{4}" title="验证码为4个字符" autocomplete="off" value="" />
      </span> <span>
      <input name="" class="input-button" type="submit" value="登录" />
      </span>
    </form>
  </div>
</div>
<div class="bottom">
  <h5>Powered by <?php echo $_smarty_tpl->tpl_vars['web_name']->value;?>
</h5>
  <h6 title="{$web_name}">© 2016-2025 <a href="#" target="_blank"><?php echo $_smarty_tpl->tpl_vars['web_name']->value;?>
</a></h6>
</div>
</body>
<script type="text/javascript">
$(document).ready(function(){
    //Random background image
    var random_bg=Math.floor(Math.random()*4+1);
    var bg='url(<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
resource/images/login/bg_'+random_bg+'.jpg)';
    $("body").css("background-image",bg);
    //Hide Show verification code
    $("#hide").click(function(){
        $(".code").fadeOut("slow");
    });
    $("#captcha").focus(function(){
        $(".code").fadeIn("fast");
    });
    //跳出框架在主窗口登录
   if(top.location!=this.location)	top.location=this.location;
    $('#user_name').focus();
    if ($.browser.msie && $.browser.version=="6.0"){
        window.location.href='adm/ie6update.html';
    }
});
</script>
</html>
<?php }} ?>